package ru.urfc.portal.model.documents;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import ru.urfc.portal.ui.client.Constants;

@XmlRootElement
public class AttachedFileList implements Constants {

	@XmlElement(name = ATTACHED_FILE)
	public List<AttachedFile> list = new ArrayList<AttachedFile>();

	public AttachedFileList() {
	}
	
	public AttachedFileList(List<AttachedFile> attachedFiles) {
		list.addAll(attachedFiles);
	}

}